package com.marion.mrpc.codec;

import java.util.IllegalFormatException;

public interface Encoder {

    byte[] encode(Object obj) throws EncodeExpception;

    String encodeAsString(Object value) throws EncodeExpception;
}
